package nl.thinksystems.rooadmin.domain;


import org.springframework.roo.addon.entity.RooEntity;
import org.springframework.roo.addon.javabean.RooJavaBean;
import org.springframework.roo.addon.tostring.RooToString;

import javax.persistence.UniqueConstraint;
import javax.validation.constraints.NotNull;

@RooJavaBean
@RooToString
@RooEntity(finders = { "findCustomersByFirstNameLike", "findCustomersByEmailLike", "findCustomersByEmail" })
public class Customer {

    @NotNull
   private String firstName;

    @NotNull
    private String lastName;

    @NotNull
    private String email;
}
